import $http from "@/utils/http";
export function addressList (info){  //地址列表
    return $http.interceptorsBefor({
        url: "/order/address/list",
        method: 'get',
        params:info,
        isDynamic: true
      })
}

export function editAddress (info){  //修改信息
    return $http.interceptorsBefor({
        url: "/order/address/info",
        method: 'get',
        params:info,
        isDynamic: true
      })
}

export function addressChange (info){  //添加地址
    return $http.interceptorsBefor({
        url: "/order/address/add",
        method: 'post',
        params:info,
        isDynamic: true
      })
}

export function deleteAdd (info){  //删除地址
    return $http.interceptorsBefor({
        url: "/order/address/del",
        method: 'post',
        params:info,
        isDynamic: true
      })
}
